<?php $this->load->view("common/page_header");?>
<div id="body_main">	
	<div class="login_header">
		<img class="logo" src="/img/logo2.png" />
		<div class="title">修改图像</div>
		<div class="action"><a href="/user/show">返回行动中心</a></div>
		<div class="clear"></div>
	</div>
	<div class="login_body" style="background:none">
		<div class="arrow_up" style="left:155px">
			<em>◆</em>
			<span>◆</span>
		</div>
		<form action="" method="post" class="margin_left15" style="margin-top:35px" enctype="multipart/form-data">
			<div class="form_row">
				<?php if (!empty($avatar['avatar'])) {?>
					当前使用用户图像:<img src="/img/avatar/<?php echo $avatar['thumb_avatar'];?>"></img>
				<?php } else {?>
					暂时没有使用的图像
				<?php }?>
			</div>

			<div class="form_row">
				<label class="input_label">上传照片：</label>
				<input type="file" name="userfile"/>
				<div class="input_hint grey">
					仅支持.jpg.jpeg.png.bmp.gif格式图片，图片大小不超过1M
					<div class="red">新图像将覆盖旧的图像</div>
				</div>
			</div>
			<div class="form_action">
				<input type="submit" class="input_button" value="提交"/>
			</div>
		</form>
		<div class="clear"></div>
	</div>
</div>
<?php $this->load->view("common/footer");?>		
<?php $this->load->view("common/page_footer");?>